# 定义api类
import requests


class ihrm_login(object):
    @classmethod
    def hrm_login(cls, json_data):
        url_login = "http://ihrm-test.itheima.net/api/sys/login"
        resp=requests.post(url=url_login,json=json_data)
        return resp

